projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bcdfe03
)
core: Fix uninitialized variable
author
Colin Walters
<walters@verbum.org>
Mon, 14 Nov 2011 20:09:00 +0000
(15:09 -0500)
committer
Colin Walters
<walters@verbum.org>
Mon, 14 Nov 2011 20:09:00 +0000
(15:09 -0500)
libostree/ostree-repo.c
patch
|
blob
|
history
diff --git
a/libostree/ostree-repo.c
b/libostree/ostree-repo.c
index 2d94e0d0e5d6b9836a436c57502727bd2849d904..0d345312d639775cb9731aecc654ec44032d1dee 100644
(file)
--- a/
libostree/ostree-repo.c
+++ b/
libostree/ostree-repo.c
@@
-546,7
+546,7
@@
write_gvariant_to_tmp (OstreeRepo *self,
char *dest_name = NULL;
int fd = -1;
GUnixOutputStream *stream = NULL;
- GChecksum *checksum;
+ GChecksum *checksum
= NULL
;
serialized = g_variant_new ("(uv)", GUINT32_TO_BE ((guint32)type), variant);